/*
 * @Descripttion: vue and node-bs
 * @Author: weijunliang-jul
 * @Date: 2021-03-05 15:20:58
 * @LastEditors: weijunliang-jul
 * @LastEditTime: 2021-03-05 16:02:27
 */
import request from '@/utils/request'

// 获取当天某用户报表并且查出是否允许填写
export function getHealthNowDayByid() {
    return request({
        url: '/students/getHealthNowDayByid',
        method: "get",
    })
}

export function sethealth(temp, hot, mask, leaveout, todanger) {
    return request({
        url: "/students/sethealth",
        method: "post",
        data: {
          temperature: temp,
          hot: hot,
          mask: mask,
          leaveout: leaveout,
          todanger: todanger,
        },
    })
}